package com.example.communitypro.mapper;


import com.example.communitypro.pojo.UserBrowseHistory;

import java.util.List;

public interface UserBrowseHistoryMapper {

    List<UserBrowseHistory> selectByUser(int userNo);//查找某个用户的浏览历史

    int deleteByUserNo(int userNo);//清空某个用户的浏览历史

    /**
     * 系统自动生成
     */

    int deleteByPrimaryKey(Integer browseRecordNo);

    int insert(UserBrowseHistory record);

    int insertSelective(UserBrowseHistory record);

    UserBrowseHistory selectByPrimaryKey(Integer browseRecordNo);

    int updateByPrimaryKeySelective(UserBrowseHistory record);

    int updateByPrimaryKey(UserBrowseHistory record);
}
